package cn.lngaosu.lwyd.module.integration.job;

import cn.lngaosu.lwyd.framework.quartz.core.handler.JobHandler;
import cn.lngaosu.lwyd.framework.tenant.core.job.TenantJob;
import cn.lngaosu.lwyd.module.integration.service.weibocommentsshow.WeiboCommentsShowService;
import cn.lngaosu.lwyd.module.integration.service.weibostatusesusertimeline.WeiboStatusesUsertimelineService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class WeiboCommentsShowJob implements JobHandler {

    @Resource
    private WeiboCommentsShowService weiboCommentsShowService;

    @Override
    @TenantJob
    public String execute(String param) {
        weiboCommentsShowService.syncWeiboCommentsShow();
        return "根据微博id同步评论信息";
    }

}
